package com.niguang.work.labour.api.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.niguang.work.labour.api.entity.AdminLaborUser;
import com.niguang.work.labour.common.pojo.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 83673
 * @since 2018-11-17
 */
public interface AdminLaborUserService extends IService<AdminLaborUser> {

    Result loginUser(String userPhone, String pwd);

    Result register(String phone, String pwd, String code);

    Result addCompany(Long userId, String companyName, String address, String license, String userName, String idCard, String licenseImg, String licenseImg1, String idCardFront, String idCardBack);

    Result sendCode(String phone);
}
